<?php
class ApplicationManagerController extends CustomControllerAction {
    protected $identity = null;
    public function init() {
        parent::init();
        $this->breadcrumbs->addStep('用户账户', $this->getUrl(null, 'account'));
        $this->breadcrumbs->addStep('应用管理', $this->getUrl(null, 'friendmanager'));
        
        $auth = Zend_Auth::getInstance();
        if (!$auth->hasIdentity()) {
            $this->_redirect($this->getUrl('login', 'account'));
        }
        $this->identity = $auth->getIdentity();
    }
	public function indexAction() {
		//TODO 本用户应用概览
	}
	
	public function addAction() {
		//TODO 添加应用
	}
	
	public function deleteAction() {
		//TODO 解除应用
	}
}
?>